home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
utilitys
/
93
/
makersh
/
makersh.doc
< prev
next >
Wrap
Text File
|
1987-10-12
|
1KB
|
25 lines
makersh.prg
Is a program that reads resource files ( .RSC files) and generates
a file of C code ( .RSH file ) that represents the resource file.
I wrote this program as a supplement to K - Resource the resource
construction set from Kuma. Unlike the RCS in the developer's kit
K-resource does not come with the option to generate an RCS file.
The RCS file be used with rcsfix.c which was posted to USENET about
six months ago. rcsfix allows one to include the resource file in the
program so as not have to worry about the RSC file when one needs it.
The program can be compiled in two forms a GEM form makersh.prg
which uses dialogue boxes and some GEM cutesy-poo to post you on the
progress of the program. In the TOS form makersh.ttp the program takes
two arguments infile outfile. Infile is the input RSC file and
output is the output RSH. The TOS form is less "user-friendly" as well as
incorporating less error checking. The makefile show how these two forms are
compiled.The program was written using the Mark William C Developement
System but should compile using other compilers. My knowledge of the
structure of the RSC file and the desired format of the RSH are by inference
only. The only documentation that I have had access to are the Abacus Books,
an Programmer's guide to GEM by Balma and Fitler book
and the .h files none of which give direct information. So if you find
any mistakes or bugs please let me know.